package edu.zut.cs.javaee.dream.product.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import edu.zut.cs.javaee.dream.base.service.impl.GenericManagerImpl;
import edu.zut.cs.javaee.dream.product.dao.ProductDao;
import edu.zut.cs.javaee.dream.product.domain.Product;
import edu.zut.cs.javaee.dream.product.service.ProductManager;

@Service(value = "productManager")
public class ProductManagerImpl extends GenericManagerImpl<Product, Long> implements ProductManager {

	ProductDao productDao;

	@Autowired
	public void setProductDao(ProductDao productDao) {
		this.productDao = productDao;
		this.dao = this.productDao;
	}

}
